<?php
/**
 * Created by PhpStorm.
 * User: 刘红波 <liuhb@cqjcdflzxsws.com>
 * Date: 2018/7/26
 * Time: 16:40
 */

namespace app\api\validate;


use think\Validate;

class WeDetailLikes extends Validate
{
    protected $rule = [
        'detail_id'=>'require|integer',
        'user_id'=>'require|integer'
    ];

    protected $message = [
        'detail_id.require'=>'话题ID缺失',
        'detail_id.integer'=>'话题ID类型错误',
        'user_id.require'=>'用户ID缺失，请登录',
        'user_id.integer'=>'用户ID类型错误',
    ];
}